import request from '@/utils/request'

// 查询会员价格列表
export function listMemberprice(query) {
  return request({
    url: '/generator/memberprice/list',
    method: 'get',
    params: query
  })
}

// 查询会员价格详细
export function getMemberprice(id) {
  return request({
    url: '/generator/memberprice/' + id,
    method: 'get'
  })
}

// 新增会员价格
export function addMemberprice(data) {
  return request({
    url: '/generator/memberprice',
    method: 'post',
    data: data
  })
}

// 修改会员价格
export function updateMemberprice(data) {
  return request({
    url: '/generator/memberprice',
    method: 'put',
    data: data
  })
}

// 删除会员价格
export function delMemberprice(id) {
  return request({
    url: '/generator/memberprice/' + id,
    method: 'delete'
  })
}
